import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      // name: 'name',
      component:()=>import('../views/usersys/userHome.vue'),
      
    //   children: [
    //     {
    //     // 页面逻辑
    //     path: '/login',
    //     // name: 'login',
    //     component: () => import('../views/login/login.vue')
    //   }
    // ]
    },
    {
      // 页面逻辑
      path: '/login',
      // name: 'login',
      component: () => import('../views/login/login.vue')
    }


  ]
})

export default router
